#ifndef __SMG_H__
#define __SMG_H__

#include <STC15F2K60S2.H>
#include "Key.h"
#include "ds1302.h"


#define uchar unsigned char 
#define uint  unsigned int
	
//数码管码表
extern uchar code smgduan[];
//界面显示
extern uchar menu_index;	//界面索引
extern uchar xdata menu1[8];
extern uchar xdata menu2[8];
extern uchar xdata menu3[8];
extern uchar xdata menu4[8];
extern uchar xdata menu5[8];
extern uchar xdata menu6[8];

//数码管显示相关变量
extern unsigned char test_num;
extern float f_Temperature;


//数码管界面显示函数
void SMG_Show_Data(void);

void Delay_ms(unsigned int xms);

#endif
